<%@page import="java.util.Iterator"%>
<%@page import="java.util.List"%>
<%@page import="uoc.biblioteca.util.DummyDB"%>


<%
	DummyDB db = new DummyDB();

	String query = request.getParameter("q");
	
	List<String> fondos = db.getData(query);
	
	Iterator<String> iterator = fondos.iterator();
	while(iterator.hasNext()) {
		String fondo = (String)iterator.next();
		out.println(fondo);
	}
	
%>
